<%@ page pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.base.DatabaseObject"%>
<%@page import="com.base.DatabaseDAO"%>
<%@page import="com.base.Config"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="com.utils.LOBs"%>
<%@page import="java.sql.Clob"%>

<%@include file="inc-header.jsp"%><!-- MAIN CONTENT -->
<div class="box bottom10">
	<%@include file="inc-nav-header.jsp"%>
	<%
	String sId = Utils.getParam(request, "id", "0");
	String sPage = Utils.getParam(request, "page", "1");	
	//int currPage = Integer.parseInt(sPage);
	//int rowsPerPage = 7;
	
	%>
	<!-- BODY CONTENT -->
	<div class="tab2">
		<%@include file="dichvu-adv.jsp" %> >>
		<a href="lottery.jsp?act=dv">Xổ số</a>
	</div>
	<!--end .tab2-->
	<!-- BODY CONTENT -->
	<div class="box clearfix">
		<div class="title">
			<h3>
				<strong></strong>
			</h3>
			<%
			ArrayList<DatabaseObject> lotteryBrand = contentDAO.getListLotteryBrand(new BigDecimal(sId));
			if (!StringTool.isEmptyOrNul(sId)) {
			for (DatabaseObject lotteryType : lotteryBrand) {%>
			<li>
				<p><img src="images/icon-list.png" alt="">
				<a href="lottery-detail.jsp?id=<%=lotteryType.getAttribute().get("lottery_result_id") %>"> <%=lotteryType.getAttribute().get("name") %> </a></p>
			</li>
		<%}}%>
		</div>
	</div>
	<!-- END BODY CONTENT -->
</div>
<!--end .box bottom10-->
<%@include file="inc-nav-bottom.jsp"%>
<!-- END MAIN CONTENT -->
<%@include file="inc-footter.jsp"%>
